<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>人工调度</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<!-- 项目基准路径 -->
		<base href="/bestinc/" />

		<!-- 引入layui的css -->
		<link rel="stylesheet" href="static/lib/layui/css/layui.css" media="all">

		<!-- 引入自定义工具css -->
		<link rel="stylesheet" href="static/css/util.css" media="all">

		<!-- 引入jqeury -->
		<script src="static/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>

		<!-- 引入layui的js -->
		<script src="static/lib/layui/layui.js" type="text/javascript" charset="utf-8"></script>

		<!-- 引入资源js -->
		<script src="static/js/system/dispatch/dispatchList.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<!--加了个div-->
		<div id="content">
			<!-- 头部搜索框 -->
			<div id="search-header">
				<form class="layui-form">
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">是否超时</label>
							<div class="layui-input-inline">
								<select name="isOvertime" lay-filter="parentId">
									<option value=""></option>
									<option value="0">否</option>
									<option value="1">是</option>
								</select>
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">日期</label>
							<div class="layui-input-inline">
								<input id="h-datas" type="text" name="dates" placeholder="请输入日期" autocomplete="off" class="layui-input"/>
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label">是否异常</label>
							<div class="layui-input-inline">
								<select name="isAbnormal">
									<option value=""></option>
									<option value="0">否</option>
									<option value="1">是</option>
								</select>
							</div>
						</div>
						<div class="layui-inline">
							<label class="layui-form-label"></label>
							<div class="layui-input-inline">
								<button class="layui-btn my-bg-green" lay-submit="" lay-filter="searchBtn" id="searchBtn">
		            	<i class="layui-icon layui-icon-search"></i>
		            	查询
		            </button>
								<button class="layui-btn layui-bg-orange" type="reset">
		            	<i class="layui-icon layui-icon-refresh"></i>
		            	重置
		            </button>
							</div>
						</div>
					</div>
				</form>
			</div>

			<!-- 加了个div -->
			<div id="dataDiv">
				<!-- 数据表格 -->
				<table class="layui-hide" id="dataTable" lay-filter="dataTableEvent">

				</table>
			</div>

			<!-- 模态框 -->
			<div id="myModal" class="definedModal" style="padding-right: 0px; padding-top: 0px;">
				<!-- 数据表格 -->
				<table class="layui-hide" id="goTable" lay-filter="dataTableEvent"></table>
				<!-- 这里手动加表单样式 -->
				<div style="padding: 10px 42px 0px 0px;">
					<form id="dataForm" lay-filter="dataForm" class="layui-form" action="">
						<input type="hidden" name="staffName" value="" />
						<div class="layui-row">
							<div class="layui-col-xs6">
								<label class="layui-form-label">员工名</label>
								<div class="layui-input-block">
									<select name="staffId" lay-filter="staffId" my-verify="staffId" id="staffName" lay-search>
										<option value=""></option>
									</select>
								</div>
							</div>
							<div class="layui-col-xs6">
								<label class="layui-form-label">是否可用</label>
								<div class="layui-input-block">
									<select name="useable" lay-filter="aihao"  my-verify="useable" lay-search>
										<option value=""></option>
										<option value="0">否</option>
										<option value="1">是</option>
									</select>
								</div>
							</div>
						</div>
						<!--<div class="layui-form-item">
							<div class="layui-input-block">
								<button type="submit" class="layui-btn  my-bg-green" lay-submit="" lay-filter="submitBtn" id="submitBtn">立即提交</button>
								<button type="button" class="layui-btn layui-bg-orange modalClose">关闭</button>
							</div>
						</div>-->
					</form>
				</div>
			</div>

			<!-- 头部工具栏 -->
			<script type="text/html" id="myToolbar">
				<div class="layui-btn-group">
					<button lay-event="regain" class="layui-btn layui-btn-sm layui-btn-primary" title="恢复"><i class="layui-icon">&#xe613;</i>调度 </button>
					<button lay-event="openModal" class="layui-btn layui-btn-sm layui-btn-primary" title="弹框"><i class="layui-icon">&#xe662;</i>弹框 </button>
				</div>
			</script>

			<!-- 状态 -->
			<script type="text/html" id="isAbnormal">
				<span class="useable font-color font-size {{d.isAbnormal==1? 'my-bg-red':'my-bg-green'}}">{{d.isAbnormal==1?'是':'否'}}</span>
			</script>

			<!-- 状态 -->
			<script type="text/html" id="isRetreat">
				<span class="useable font-color font-size {{d.isRetreat==1? 'my-bg-red':'my-bg-green'}}">{{d.isRetreat==1?'是':'否'}}</span>
			</script>

			<!-- 状态 -->
			<script type="text/html" id="isOvertime">
				<span class="useable font-color font-size {{d.isOvertime==1? 'my-bg-red':'my-bg-green'}}">{{d.isOvertime==1?'是':'否'}}</span>
			</script>

			<!-- 状态 -->
			<script type="text/html" id="checkboxTpl3">
				<span class="useable font-color font-size {{d.isAbnormal==1? 'my-bg-red':'my-bg-green'}}">{{d.useable==1?'可用':'禁用'}}</span>
			</script>
		</div>
	</body>
</html>
